package com.xoa.service.supervision;

import com.xoa.model.supervision.SupervisionApply;
import com.xoa.util.ToJson;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by 张丽军 on 2017/7/29.
 */
@Service
public interface SupervisionApplyService {


    public ToJson<SupervisionApply> updateStatus(HttpServletRequest request,SupervisionApply supervisionApply);

    public ToJson<SupervisionApply> getStatusInfor(HttpServletRequest request,Integer status);

	/**
	 * 创建作者:   杨 胜
	 * 创建日期:   2017-8-5 下午5:06:37
	 * 方法介绍:   
	 * 参数说明:   @param request
	 * 参数说明:   @param supervisionApply
	 * 参数说明:   @return
	 * @return     ToJson<SupervisionApply>
	 */
	public ToJson<SupervisionApply> insertSupApply(HttpServletRequest request,
			SupervisionApply supervisionApply);

	/**
	 * 创建作者:   杨 胜
	 * 创建日期:   2017-8-7 上午10:45:57
	 * 方法介绍:   
	 * 参数说明:   @param request
	 * 参数说明:   @param supervisionApply
	 * 参数说明:   @return
	 * @return     ToJson<SupervisionApply>
	 */
	public ToJson<SupervisionApply> getSupApplyByStatus(
			HttpServletRequest request, SupervisionApply supervisionApply);

  
}
